package pers.zb.cloud.service.upms.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "sys_role_client_permission")
public class SysRoleClientPermission {
    @Id
    @Column(name = "id")
    private Long id; //主键ID

    @Column(name = "role_id")
    private Long roleId;//角色ID

    @Column(name = "client_id")
    private String clientId;//应用的client_id

    @Column(name = "permission_id")
    private Long permissionId;//权限ID
}
